package com.ruoyi.system.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.system.domain.SysYmdCgBase;

/**
 * SysYmdCgBaseService接口
 * 
 * @author SYF
 * @date 2025-05-09
 */
public interface ISysYmdCgBaseService 
{
    /**
     * 查询SysYmdCgBase
     * 
     * @param xdCycle SysYmdCgBase主键
     * @return SysYmdCgBase
     */
    public SysYmdCgBase selectSysYmdCgBaseByXdCycle(String xdCycle);

    /**
     * 查询SysYmdCgBase列表
     * 
     * @param sysYmdCgBase SysYmdCgBase
     * @return SysYmdCgBase集合
     */
    public List<SysYmdCgBase> selectSysYmdCgBaseList(SysYmdCgBase sysYmdCgBase);

    /**
     * 新增SysYmdCgBase
     * 
     * @param sysYmdCgBase SysYmdCgBase
     * @return 结果
     */
    public int insertSysYmdCgBase(SysYmdCgBase sysYmdCgBase);

    /**
     * 修改SysYmdCgBase
     * 
     * @param sysYmdCgBase SysYmdCgBase
     * @return 结果
     */
    public int updateSysYmdCgBase(SysYmdCgBase sysYmdCgBase);

    /**
     * 批量删除SysYmdCgBase
     * 
     * @param xdCycles 需要删除的SysYmdCgBase主键集合
     * @return 结果
     */
    public int deleteSysYmdCgBaseByXdCycles(String[] xdCycles);

    /**
     * 删除SysYmdCgBase信息
     * 
     * @param xdCycle SysYmdCgBase主键
     * @return 结果
     */
    public int deleteSysYmdCgBaseByXdCycle(String xdCycle);

    public List<Map<String,Object>> selectDepts(String year);

    public List<Map<String,Object>> selectSales(String year);

    public List<Map<String,Object>> selectDeptsByYear(String year);

    public List<Map<String,Object>> selectSalesByYear(String year);

    public List<Map<String,Object>> selectTypes(String year);

    public List<SysYmdCgBase> selectYmdCgBaseLinkedList(SysYmdCgBase sysYmdCgBase);

    public List<SysYmdCgBase> selectYmdCgBaseUnLinkedList(SysYmdCgBase sysYmdCgBase);

}
